Skip to content

fix: update validation constraints for problem DTOs and bump version … - #64

Merged
MathCunha16 merged 2 commits into
mainfrom
fix/problem-description-limit
Sep 21, 2026
Merged

MathCunha16 merged 2 commits into
mainfrom
fix/problem-description-limit

Conversation

@MathCunha16

Copy link
Copy Markdown
Owner

Summary

Remove the maximum length validation from problem errorDescription and solution fields when creating or editing problems.

The change updates the backend DTO validation rules, removes the corresponding maxLength: 255 constraints from the OpenAPI specification, and bumps the application version from 0.2.1-beta to 0.2.2-beta across the backend and frontend metadata.

Related issue

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor or maintenance
  • Documentation
  • Other (describe below)

How was this tested?

Reviewed the backend DTO validation changes and confirmed that errorDescription and solution no longer have a maximum character limit while the existing minimum length validation remains in place.

Updated and reviewed the OpenAPI schemas for CreateProblemCommand and UpdateProblemCommand to keep the API documentation consistent with the backend behavior.

Verified the version bump to 0.2.2-beta in the backend version declaration, frontend package metadata, Tauri configuration, and Cargo manifest.

Checklist

  • I have read CONTRIBUTING.md.
  • The change is focused and does not include unrelated refactors.
  • I added or updated documentation when needed.
  • I added or updated tests when the behavior requires it.
  • I ran the relevant existing checks locally.
  • I did not include secrets, credentials, personal data, or generated build artifacts.
  • I understand the code I am submitting and reviewed all AI-assisted output, if any.
  • I disclosed significant AI assistance that affected the design or implementation, if applicable.

Screenshots or recordings

Not applicable — this change does not affect the visual interface.

@MathCunha16 MathCunha16 self-assigned this Sep 21, 2026
@MathCunha16 MathCunha16 added the Backend Backend feature or modification label Sep 21, 2026
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Essentials

Run ID: eaa04e34-05ec-4bf7-b21e-d07ccb679dbd

📥 Commits

Reviewing files that changed from the base of the PR and between 6e6054b and 5944abd.

📒 Files selected for processing (6)
  • backend/docs/openapi.yaml
  • backend/internal/domain/model/version.go
  • backend/internal/dto/problem_dto.go
  • frontend/package.json
  • frontend/src-tauri/Cargo.toml
  • frontend/src-tauri/tauri.conf.json
 __________________________________
< Jazz Jackrabbit is my alter ego. >
 ----------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@MathCunha16
MathCunha16 merged commit f23b4ff into main Sep 21, 2026
1 of 2 checks passed
@MathCunha16
MathCunha16 deleted the fix/problem-description-limit branch September 21, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Backend feature or modification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant